/**
 * 账号或者密码必须携带
 */
const ACCOUNT_OR_PASSWORD_IS_REQUIRED = "account_or_password_is_required";
/**
 * 用户名已经存在
 */
const ACCOUNT_IS_ALREADY_EXISTS = "account_is_already_exists";
/**
 * 用户名不存在
 */
const ACCOUNT_IS_NOT_EXISTS = "account_is_not_exists";
/**
 * 密码错误
 */
const PASSWORD_IS_INCORRENT = "password_is_incorrent";
/**
 * 未授权信息
 */
const UNAUTHORIZATION = "unauthorization";
/**
 * 操作是不被允许的
 */
const OPERATION_IS_NOT_ALLOWED = "operation_is_not_allowed";
/**
 * 参数错误
 */
const PARAMETER_ERROR = "parameter_error";
/**
 * 参数缺少
 */
const PARAMETER_MISSING = "parameter_missing";
/**
 * accessToken失效
 */
const accessToken_IS_INVALID = "accessToken_is_invalid";
/**
 * refreshToken失效
 */
const refreshToken_IS_INVALID = "refreshToken_is_invalid";
/**
 * accessToken必须携带
 */
const accessToken_IS_REQUIRED = "accessToken_is_required";
/**
 * refreshToken必须携带
 */
const refreshToken_IS_REQUIRED = "refreshToken_is_required";

module.exports = {
  ACCOUNT_OR_PASSWORD_IS_REQUIRED,
  ACCOUNT_IS_ALREADY_EXISTS,
  ACCOUNT_IS_NOT_EXISTS,
  PASSWORD_IS_INCORRENT,
  UNAUTHORIZATION,
  OPERATION_IS_NOT_ALLOWED,
  PARAMETER_ERROR,
  PARAMETER_MISSING,
  accessToken_IS_INVALID,
  refreshToken_IS_INVALID,
  accessToken_IS_REQUIRED,
  refreshToken_IS_REQUIRED,
};
